#pragma once

#include <QtWidgets/QMainWindow>
#include <QThread>
#include <QProgressDialog>
#include "CopyFileTask.h"
#include "ui_TestCopyDir.h"

class TestCopyDir : public QMainWindow
{
    Q_OBJECT

public:
    TestCopyDir(QWidget *parent = nullptr);
    ~TestCopyDir();

private:
    Ui::TestCopyDirClass ui;
	QThread m_workTread;
	CopyFileTask *m_pTask = nullptr;
	QProgressDialog *m_pProgressbar = nullptr;
	bool m_blCancel = false;
};
